import request from '@/router/axios';
// 查询所有车间列表
export const getWorkshop = (params) => {
  return request({
    url: '/api/mes-abacus/stat-production-query/get-dimension-key-value',
    method: 'get',
    params
  });
};

// 查询所有工序列表
export const getTableList = (params) => {
  return request({
    url: '/api/mes-abacus/stat-production-query/page-query-production-yield-report',
    method: 'get',
    params
  });
};

//图表数据
export const getChartData = (params) => {
  return request({
    url: '/api/mes-abacus/stat-production-query/production-yield-report-summary',
    method: 'get',
    params
  });
};
